package com.example.Staff.mapper;
import com.example.Staff.domain.Staff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StaffMapper {
    public List<Staff> selectStaff(Staff staff);

    public void insertStaff(Staff staff);

    public void  updateStaffByStaff_id(Staff staff);

    public void  delStaffByStaff_id(@Param("staff_id") String staff_id);

    public Staff selectOneStaff(Staff staff);
}
